
import json
import requests

def main():
    # https://www.tianapi.com/
    resp = requests.get('https://www.bejson.com/Bejson/Api/LanguageGroup/getGroupList?site_id=2')
    data_model = json.loads(resp.text)
    for news in data_model['data'].get('list'):
        print(news)


if  __name__ == '__main__':
    main()